package com.bdqn.service;

import com.bdqn.pojo.SysUser;

import java.util.List;

/**
 * SysUserService服务层实现类
 *
 * @author LILIBO
 * @since 2021-05-14
 */
//@Service("sysUserService") // 注册为一个Service层的Bean
public class SysUserServiceImpl<SysUserMapper> implements SysUserService {

//    @Autowired // @Resource // 使用注解的方式将DAO层的Bean注入
    private SysUserMapper sysUserMapper;

    @Override
    public List<SysUser> getList(SysUser sysUser) {
        try {
            return sysUserMapper.selectSysUserList(sysUser);
        } catch (RuntimeException e) {
            e.printStackTrace();
            throw e;
        }
    }

}
